<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Sensio\Bundle\TrainingBundle\Form;


use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
/**
 * Description of ContactType
 *
 * @author DIDM4
 */
class ContactType extends AbstractType
{
    public function buildForm(FormBuilderInterface $builder, array $options) 
    {
        $builder->add('sender')
                ->add('subject')
                ->add('message','textarea')
                ->add('send','submit',array('label'=>"Send my message"));
    }
    public function getName() 
    {
        return 'contact';
    }
}
